package com.nuoniu.sibanyun.entity.cm;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.nuoniu.sibanyun.common.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *  合同管理类型
 * </p>
 *
 * @author 小啊刚
 * @since 2021-10-20
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("cm_contract_type")
@ApiModel(value="ContractType对象", description="")
public class ContractType extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "租户id")
    @TableField("company_id")
    private Integer companyId;

    @ApiModelProperty(value = "类型编码")
    @TableField("code")
    private String code;

    @ApiModelProperty(value = "类型名称")
    @TableField("name")
    private String name;

    @ApiModelProperty(value = "收付计划方向：1收2付3其他")
    @TableField("plan_direction")
    private Integer planDirection;

    @ApiModelProperty(value = "编码设置id")
    @TableField("number_set_id")
    private Integer numberSetId;

    @ApiModelProperty(value = "编码设置名称")
    @TableField("number_set_name")
    private String numberSetName;
}
